/**
 * 应用程序全局接口
 */
export class mapManager {
  static setMapLayer(id, mapObj) {
    if (!this._mapLayers) {
      this._mapLayers = new Map();
    }
    this._mapLayers.set(id, mapObj);
  }
  static getMapLayer(id) {
    if (this._mapLayers) {
      return this._mapLayers.get(id);
    }
  }
}

export default mapManager;
